package com.yangjian.service;

import com.yangjian.bean.OrderDetail;

import java.util.List;

/**
 * 订单详细表的service
 */
public interface OrderDetailService {

    /**
     * 添加订单详情
     * @param orderDetail
     * @return
     */
    int add(OrderDetail orderDetail);

    /**
     * 根据订单id查询订单详情
     * @param Oid
     * @return
     */
    List<OrderDetail> findByOrderId(Long Oid);
}
